#ifndef INFORMATIONBOX_H
#define INFORMATIONBOX_H
#include <QWidget>
#include <QLCDNumber>
#include <QGridLayout>
#include <QLabel>
#include <QTextBrowser>

class InformationBox : public QWidget {
	Q_OBJECT
	public:
		InformationBox(QWidget *parent = 0);
		
		void reset();
		
	public slots:
		void setScorePlayer1(int);
		void setScorePlayer2(int);
		void setNamePlayer1(const QString&);
		void setNamePlayer2(const QString&);
		void setMessagePlayer1(const QString&);
		void setMessagePlayer2(const QString&);
		void setMessageGame(const QString&);
		
	private:
		QLCDNumber* score1;
		QLCDNumber* score2;
		QGridLayout* layout;
		QTextBrowser* logBox;
		QLabel* namePlayer1;
		QLabel* namePlayer2;
		QString log;
};

#endif
